home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_gtk-engines.idb / usr / freeware / share / themes / Pixmap / gtk / gtkrc.z / gtkrc
Text File  |  2001-10-09  |  20KB  |  980 lines

  1. # pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
  2. #
  3. # include "rc-file"
  4. #
  5. # style <name> [= <name>]
  6. # {
  7. #   <option>
  8. # }
  9. #
  10. # widget <widget_set> style <style_name>
  11. # widget_class <widget_class_set> style <style_name>
  12.  
  13. # testgtkrc2 sets all the buttons in the main window to blue by default
  14. #include "testgtkrc2"
  15.  
  16. #module_path ".:/home/raster/themes"
  17.  
  18. style "eventbox" {
  19.   bg_pixmap[NORMAL] = "<parent>"
  20.   bg_pixmap[INSENSITIVE] = "<parent>"
  21.   bg_pixmap[PRELIGHT] = "<parent>"
  22.   bg_pixmap[SELECTED] = "<parent>"
  23.   bg_pixmap[ACTIVE] = "<parent>"
  24. }
  25.  
  26. class "GtkEventBox" style "eventbox"
  27.  
  28. #
  29. # Buttons
  30. #
  31.  
  32. style "checkradiobutton" {
  33.   engine "pixmap" {
  34.     image 
  35.       {
  36.         function        = FLAT_BOX
  37.     recolorable     = TRUE
  38.     file            = "button5.png"
  39.     border          = { 3, 3, 3, 3 }
  40.     stretch         = TRUE
  41.       }
  42.   }
  43. }
  44.  
  45. class "GtkRadioButton" style "checkradiobutton"
  46. class "GtkCheckButton" style "checkradiobutton"
  47.  
  48. style "togglebutton"
  49. {
  50.    engine "pixmap" {
  51.     image 
  52.       {
  53.         function        = BOX
  54.     recolorable     = TRUE
  55.     shadow          = IN
  56.     file            = "button4.png"
  57.     border          = { 3, 3, 3, 3 }
  58.     stretch         = TRUE
  59.       }
  60.     image 
  61.       {
  62.         function        = BOX
  63.     recolorable     = TRUE
  64.     shadow          = OUT
  65.     file            = "button1.png"
  66.     border          = { 3, 3, 3, 3 }
  67.     stretch         = TRUE
  68.       }
  69.   }
  70. }
  71.  
  72. class "GtkToggleButton" style "togglebutton"
  73.  
  74. style "button"
  75. {
  76.   bg[NORMAL] = "#909090"
  77.  
  78.   engine "pixmap" 
  79.     {
  80.     image 
  81.       {
  82.         function        = BOX
  83.     recolorable     = TRUE
  84.     state           = NORMAL
  85.     detail          = "buttondefault"
  86.     shadow          = IN
  87.     file            = "button_def.png"
  88.     border          = { 9, 9, 9, 9 }
  89.     stretch         = TRUE
  90.       }
  91.     image 
  92.       {
  93.         function        = BOX
  94.     recolorable     = TRUE
  95.     state           = NORMAL
  96.     shadow          = OUT
  97.     file            = "button1.png"
  98.     border          = { 3, 3, 3, 3 }
  99.     stretch         = TRUE
  100.       }
  101.     image 
  102.       {
  103.         function        = BOX
  104.     recolorable     = TRUE
  105.     state           = PRELIGHT
  106.     shadow          = OUT
  107.     file            = "button2.png"
  108.     border          = { 3, 3, 3, 3 }
  109.     stretch         = TRUE
  110.       }
  111.     image 
  112.       {
  113.         function        = BOX
  114.     recolorable     = TRUE
  115.     state           = NORMAL
  116.     shadow          = IN
  117.     file            = "button4.png"
  118.     border          = { 2, 2, 2, 2 }
  119.     stretch         = TRUE
  120.       }
  121.     image 
  122.       {
  123.         function        = BOX
  124.     recolorable     = TRUE
  125.     state           = INSENSITIVE
  126.     shadow          = IN
  127.     file            = "button6.png"
  128.     border          = { 3, 3, 3, 3 }
  129.     stretch         = TRUE
  130.       }
  131.     image 
  132.       {
  133.         function        = BOX
  134.     recolorable     = TRUE
  135.     state           = INSENSITIVE
  136.     shadow          = OUT
  137.     file            = "button5.png"
  138.     border          = { 3, 3, 3, 3 }
  139.     stretch         = TRUE
  140.       }
  141.     image 
  142.       {
  143.         function        = BOX
  144.     recolorable     = TRUE
  145.     state           = SELECTED
  146.     shadow          = IN
  147.     file            = "button4.png"
  148.     border          = { 3, 3, 3, 3 }
  149.     stretch         = TRUE
  150.       }
  151.     image 
  152.       {
  153.         function        = BOX
  154.     recolorable     = TRUE
  155.     state           = ACTIVE
  156.     shadow          = IN
  157.     file            = "button3.png"
  158.     border          = { 3, 3, 3, 3 }
  159.     stretch         = TRUE
  160.       }
  161.    }
  162. }
  163.  
  164. class "GtkButton" style "button"
  165.  
  166. style "clist"
  167. {
  168.   bg[PRELIGHT] = "#f0f0cc"
  169.   fg[PRELIGHT] = "#000000"
  170.   base[NORMAL] = "#f0f0cc"
  171. }
  172.  
  173. class "GtkCList" style "clist"
  174.  
  175. style "notebook"
  176. {
  177.   engine "pixmap" 
  178.     {
  179.     image 
  180.       {
  181.         function        = EXTENSION
  182.     recolorable     = TRUE
  183.     state           = ACTIVE
  184.     file            = "button8.png"
  185.     border          = { 3, 3, 3, 3 }
  186.     stretch         = TRUE
  187.       }
  188.     image 
  189.       {
  190.         function        = EXTENSION
  191.     recolorable     = TRUE
  192.     file            = "extension_top1.png"
  193.     border          = { 3, 3, 3, 3 }
  194.     stretch         = TRUE
  195.     gap_side        = BOTTOM
  196.       }
  197.     image 
  198.       {
  199.         function        = EXTENSION
  200.     recolorable     = TRUE
  201.     file            = "extension_bottom1.png"
  202.     border          = { 3, 3, 3, 3 }
  203.     stretch         = TRUE
  204.     gap_side        = TOP
  205.       }
  206.     image 
  207.       {
  208.         function        = EXTENSION
  209.     recolorable     = TRUE
  210.     file            = "extension_left1.png"
  211.     border          = { 3, 3, 3, 3 }
  212.     stretch         = TRUE
  213.     gap_side        = RIGHT
  214.       }
  215.     image 
  216.       {
  217.         function        = EXTENSION
  218.     recolorable     = TRUE
  219.     file            = "extension_right1.png"
  220.     border          = { 3, 3, 3, 3 }
  221.     stretch         = TRUE
  222.     gap_side        = LEFT
  223.       }
  224. #
  225. # How to draw boxes with a gap on one side (ie the page of a notebook)
  226. #
  227.     image 
  228.       {
  229.         function        = BOX_GAP
  230.     recolorable     = TRUE
  231.     file            = "notebook1.png"
  232.     border          = { 3, 3, 3, 3 }
  233.     stretch         = TRUE
  234.     gap_file        = "gap_top.png"
  235.     gap_border      = { 0, 0, 0, 0 }
  236.     gap_start_file  = "gap_top_start.png"
  237.     gap_start_border= { 2, 0, 0, 0 }
  238.     gap_end_file    = "gap_top_end.png"
  239.     gap_end_border  = { 0, 2, 0, 0 }
  240.     gap_side        = TOP
  241.       }
  242.     image 
  243.       {
  244.         function        = BOX_GAP
  245.     recolorable     = TRUE
  246.     file            = "notebook1.png"
  247.     border          = { 3, 3, 3, 3 }
  248.     stretch         = TRUE
  249.     gap_file        = "gap_bottom.png"
  250.     gap_border      = { 0, 0, 0, 0 }
  251.     gap_start_file  = "gap_bottom_start.png"
  252.     gap_start_border= { 2, 0, 0, 0 }
  253.     gap_end_file    = "gap_bottom_end.png"
  254.     gap_end_border  = { 0, 2, 0, 0 }
  255.     gap_side        = BOTTOM
  256.       }
  257.     image 
  258.       {
  259.         function        = BOX_GAP
  260.     recolorable     = TRUE
  261.     file            = "notebook1.png"
  262.     border          = { 3, 3, 3, 3 }
  263.     stretch         = TRUE
  264.     gap_file        = "gap_left.png"
  265.     gap_border      = { 0, 0, 0, 0 }
  266.     gap_start_file  = "gap_left_start.png"
  267.     gap_start_border= { 0, 0, 2, 0 }
  268.     gap_end_file    = "gap_left_end.png"
  269.     gap_end_border  = { 0, 0, 0, 2 }
  270.     gap_side        = LEFT
  271.       }
  272.     image 
  273.       {
  274.         function        = BOX_GAP
  275.     recolorable     = TRUE
  276.     file            = "notebook1.png"
  277.     border          = { 3, 3, 3, 3 }
  278.     stretch         = TRUE
  279.     gap_file        = "gap_right.png"
  280.     gap_border      = { 0, 0, 0, 0 }
  281.     gap_start_file  = "gap_right_start.png"
  282.     gap_start_border= { 0, 0, 2, 0 }
  283.     gap_end_file    = "gap_right_end.png"
  284.     gap_end_border  = { 0, 0, 0, 2 }
  285.     gap_side        = RIGHT
  286.       }
  287. #
  288. # How to draw the box of a notebook when it isnt attached to a tab
  289. #
  290.     image 
  291.       {
  292.         function        = BOX
  293.     recolorable     = TRUE
  294.     file            = "notebook1.png"
  295.     border          = { 3, 3, 3, 3 }
  296.     stretch         = TRUE
  297.     gap_side        = TOP
  298.       }
  299.   }
  300. }
  301.  
  302. class "GtkNotebook" style "notebook"
  303.  
  304. style "menu"
  305. {
  306.   engine "pixmap" {
  307.     image 
  308.       {
  309.         function        = BOX
  310.     recolorable     = TRUE
  311.     file            = "button5.png"
  312.     border          = { 3, 3, 3, 3 }
  313.     stretch         = TRUE
  314.       }
  315.   }
  316. }
  317.  
  318. class "GtkMenu" style "menu"
  319.  
  320. style "menuitem"
  321. {
  322.   engine "pixmap" {
  323.     image 
  324.       {
  325.         function        = BOX
  326.     recolorable     = TRUE
  327.     file            = "button7.png"
  328.     border          = { 3, 3, 3, 3 }
  329.     stretch         = TRUE
  330.       }
  331.   }
  332. }
  333.  
  334. class "GtkMenuItem" style "menuitem"
  335.  
  336. style "menubar"
  337. {
  338.   engine "pixmap" {
  339.     image 
  340.       {
  341.         function        = BOX
  342.     recolorable     = TRUE
  343.     file            = "menubar.png"
  344.     border          = { 3, 3, 3, 3 }
  345.     stretch         = TRUE
  346.       }
  347.   }
  348. }
  349.  
  350. class "GtkMenuBar" style "menubar"
  351.  
  352. style "optionmenu"
  353. {
  354.   engine "pixmap" {
  355.     image 
  356.       {
  357.         function        = BOX
  358.     recolorable     = TRUE
  359.     state           = PRELIGHT
  360.     file            = "button2.png"
  361.     border          = { 3, 3, 3, 3 }
  362.     stretch         = TRUE
  363.       }
  364.     image 
  365.       {
  366.         function        = BOX
  367.     recolorable     = TRUE
  368.     file            = "button1.png"
  369.     border          = { 3, 3, 3, 3 }
  370.     stretch         = TRUE
  371.       }
  372.   }
  373. }
  374.  
  375. class "GtkOptionMenu" style "optionmenu"
  376.  
  377. style "progressbar"
  378. {
  379.   engine "pixmap" 
  380.     {
  381.     image 
  382.       {
  383.         function        = BOX
  384.     recolorable     = TRUE
  385.     detail          = "bar"
  386.     file            = "progressbar.png"
  387.     border          = { 4, 4, 4, 4 }
  388.     stretch         = TRUE
  389.       }
  390.     }
  391. }
  392.  
  393. class "GtkProgressBar" style "progressbar"
  394.  
  395. style "ruler"
  396. {
  397.   engine "pixmap" {
  398.     image 
  399.       {
  400.         function        = BOX
  401.     recolorable     = TRUE
  402.     detail          = "vruler"
  403.     file            = "ruler_vert.png"
  404.     border          = { 2, 2, 2, 2 }
  405.     stretch         = TRUE
  406.       }
  407.     image 
  408.       {
  409.         function        = BOX
  410.     recolorable     = TRUE
  411.     detail          = "hruler"
  412.     file            = "ruler_horiz.png"
  413.     border          = { 2, 2, 2, 2 }
  414.     stretch         = TRUE
  415.       }
  416.   }
  417. }
  418.  
  419. class "GtkRuler" style "ruler"
  420.  
  421. style "item" 
  422. {
  423.   engine "pixmap" {
  424.     image 
  425.       {
  426.         function        = FLAT_BOX
  427.     recolorable     = TRUE
  428.     state           = INSENSITIVE
  429.     file            = "button5.png"
  430.     border          = { 2, 2, 2, 2 }
  431.     stretch         = TRUE
  432.       }
  433.     image 
  434.       {
  435.         function        = FLAT_BOX
  436.     recolorable     = TRUE
  437.     file            = "button2.png"
  438.     border          = { 2, 2, 2, 2 }
  439.     stretch         = TRUE
  440.       }
  441.   }
  442. }
  443.  
  444. class "GtkTreeItem" style "item"
  445. class "GtkListItem" style "item"
  446.  
  447. style "window" 
  448. {
  449.   engine "pixmap" {
  450.     image 
  451.       {
  452.     function        = FLAT_BOX
  453.     recolorable     = TRUE
  454.     file            = "brown_bg1.png"
  455.     stretch         = FALSE
  456.       }
  457.   }
  458. }
  459.  
  460. class "GtkWindow" style "window"
  461.  
  462. style "curve"
  463. {
  464.   engine "pixmap" {
  465.     image 
  466.       {
  467.         function        = FLAT_BOX
  468.     recolorable     = TRUE
  469.     detail          = "curve_bg"
  470.     file            = "curve_bg1.png"
  471.     border          = { 2, 2, 2, 2 }
  472.     stretch         = TRUE
  473.       }
  474.   }
  475. }
  476.  
  477. class "GtkCurve" style "curve"
  478.  
  479. style "default"
  480. {
  481.   font = "-*-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"
  482.   fg[NORMAL]      = { 0.00, 0.00, 0.00 }
  483.   fg[PRELIGHT]    = { 0.25, 0.25, 0.25 }
  484.   fg[ACTIVE]      = { 0.00, 0.00, 0.00 }
  485.   fg[SELECTED]    = { 0.00, 0.00, 0.00 }
  486.   fg[INSENSITIVE] = { 0.90, 0.80, 0.70 }
  487.   bg[NORMAL]      = { 0.80, 0.70, 0.50 }
  488.   bg[PRELIGHT]    = { 0.70, 0.60, 0.40 }
  489.   bg[ACTIVE]      = { 0.90, 0.80, 0.70 }
  490.   bg[SELECTED]    = { 0.80, 0.80, 0.80 }
  491.   bg[INSENSITIVE] = { 0.80, 0.75, 0.70 }
  492.   base[NORMAL]    = "#f0f0cc"
  493.   engine "pixmap" 
  494.   {
  495.     image 
  496.       {
  497.         function        = BOX
  498.     recolorable     = TRUE
  499.     detail          = "slider"
  500.     state           = PRELIGHT
  501.     file            = "scrollbar_horiz1.png"
  502.     border          = { 13, 12, 2, 2 }
  503.     stretch         = TRUE
  504.     overlay_file    = "scrollbar_thumb2.png"
  505.     overlay_border  = { 1, 1, 1, 1 }
  506.     overlay_stretch = FALSE
  507.     orientation     = HORIZONTAL
  508.       }
  509.     image 
  510.       {
  511.         function        = BOX
  512.     recolorable     = TRUE
  513.     detail          = "slider"
  514.     state           = NORMAL
  515.     file            = "scrollbar_horiz1.png"
  516.     border          = { 13, 12, 2, 2 }
  517.     stretch         = TRUE
  518.     overlay_file    = "scrollbar_thumb.png"
  519.     overlay_border  = { 1, 1, 1, 1 }
  520.     overlay_stretch = FALSE
  521.     orientation     = HORIZONTAL
  522.       }
  523.     image 
  524.       {
  525.         function        = BOX
  526.     recolorable     = TRUE
  527.     detail          = "slider"
  528.     state           = PRELIGHT
  529.     file            = "scrollbar_vert1.png"
  530.     border          = { 2, 2, 13, 12 }
  531.     stretch         = TRUE
  532.     overlay_file    = "scrollbar_thumb2.png"
  533.     overlay_border  = { 0, 0, 0, 0 }
  534.     overlay_stretch = FALSE
  535.     orientation     = VERTICAL
  536.       }
  537.     image 
  538.       {
  539.         function        = BOX
  540.     recolorable     = TRUE
  541.     detail          = "slider"
  542.     file            = "scrollbar_vert1.png"
  543.     border          = { 2, 2, 13, 12 }
  544.     stretch         = TRUE
  545.     overlay_file    = "scrollbar_thumb.png"
  546.     overlay_border  = { 0, 0, 0, 0 }
  547.     overlay_stretch = FALSE
  548.     orientation     = VERTICAL
  549.       }
  550. #
  551. # Any trough....
  552. #
  553.     image 
  554.       {
  555.         function        = BOX
  556.     recolorable     = TRUE
  557.     detail          = "trough"
  558.     file            = "trough.png"
  559.     border          = { 3, 3, 3, 3 }
  560.     stretch         = TRUE
  561.       }
  562. #
  563. # Handlebox
  564. #
  565.     image 
  566.       {
  567.         function        = BOX
  568.     recolorable     = TRUE
  569.     detail          = "handlebox_bin"
  570.     file            = "ruler_horiz.png"
  571.     border          = { 2, 2, 2, 2 }
  572.     stretch         = TRUE
  573.       }
  574. #
  575. # Paned widget
  576. #
  577.     image 
  578.       {
  579.         function        = BOX
  580.     recolorable     = TRUE
  581.     detail          = "paned"
  582.     file            = "button5.png"
  583.     border          = { 3, 3, 3, 3 }
  584.     stretch         = TRUE
  585.       }
  586. #
  587. # Tooltips
  588. #
  589.     image 
  590.       {
  591.         function        = FLAT_BOX
  592.     recolorable     = TRUE
  593.     detail          = "tooltip"
  594.     file            = "button5.png"
  595.     border          = { 3, 3, 3, 3 }
  596.     stretch         = TRUE
  597.       }
  598. #      
  599. # Selected text in entries, text widget, lists and trees      
  600. #
  601.     image 
  602.       {
  603.         function        = FLAT_BOX
  604.     recolorable     = TRUE
  605.     state           = INSENSITIVE
  606.     detail          = "selected"
  607.     file            = "button5.png"
  608.     border          = { 2, 2, 2, 2 }
  609.     stretch         = TRUE
  610.       }
  611.     image 
  612.       {
  613.         function        = FLAT_BOX
  614.     recolorable     = TRUE
  615.     detail          = "selected"
  616.     file            = "button2.png"
  617.     border          = { 2, 2, 2, 2 }
  618.     stretch         = TRUE
  619.       }
  620.     image 
  621.       {
  622.         function        = FLAT_BOX
  623.     recolorable     = TRUE
  624.     state           = INSENSITIVE
  625.     detail          = "text"
  626.     file            = "button5.png"
  627.     border          = { 2, 2, 2, 2 }
  628.     stretch         = TRUE
  629.       }
  630.     image 
  631.       {
  632.         function        = FLAT_BOX
  633.     recolorable     = TRUE
  634.     detail          = "text"
  635.     file            = "button2.png"
  636.     border          = { 2, 2, 2, 2 }
  637.     stretch         = TRUE
  638.       }
  639.     image 
  640.       {
  641.         function        = FLAT_BOX
  642.     recolorable     = TRUE
  643.     detail          = "viewportbin"
  644.     file            = "brown_bg2.png"
  645.     stretch         = FALSE
  646.       }
  647. #
  648. # Arrows for all occasions
  649. #
  650.     image 
  651.       {
  652.         function        = ARROW
  653.     recolorable     = TRUE
  654.     state           = NORMAL
  655.     file            = "arrow_up1.png"
  656.     stretch         = TRUE
  657.     arrow_direction = UP
  658.       }
  659.     image 
  660.       {
  661.         function        = ARROW
  662.     recolorable     = TRUE
  663.     state           = PRELIGHT
  664.     file            = "arrow_up2.png"
  665.     stretch         = TRUE
  666.     arrow_direction = UP
  667.       }
  668.     image 
  669.       {
  670.         function        = ARROW
  671.     recolorable     = TRUE
  672.         shadow          = IN
  673.     file            = "arrow_up3.png"
  674.     stretch         = TRUE
  675.     arrow_direction = UP
  676.       }
  677.  
  678.     image 
  679.       {
  680.         function        = ARROW
  681.     recolorable     = TRUE
  682.     state           = NORMAL
  683.     file            = "arrow_down1.png"
  684.     stretch         = TRUE
  685.     arrow_direction = DOWN
  686.       }
  687.     image 
  688.       {
  689.         function        = ARROW
  690.     recolorable     = TRUE
  691.     state           = PRELIGHT
  692.     file            = "arrow_down2.png"
  693.     stretch         = TRUE
  694.     arrow_direction = DOWN
  695.       }
  696.     image 
  697.       {
  698.         function        = ARROW
  699.     recolorable     = TRUE
  700.         shadow          = IN
  701.     file            = "arrow_down3.png"
  702.     stretch         = TRUE
  703.     arrow_direction = DOWN
  704.       }
  705.  
  706.     image 
  707.       {
  708.         function        = ARROW
  709.     recolorable     = TRUE
  710.     state           = NORMAL
  711.     file            = "arrow_left1.png"
  712.     stretch         = TRUE
  713.     arrow_direction = LEFT
  714.       }
  715.     image 
  716.       {
  717.         function        = ARROW
  718.     recolorable     = TRUE
  719.     state           = PRELIGHT
  720.     file            = "arrow_left2.png"
  721.     stretch         = TRUE
  722.     arrow_direction = LEFT
  723.       }
  724.     image 
  725.       {
  726.         function        = ARROW
  727.     recolorable     = TRUE
  728.         shadow          = IN
  729.     file            = "arrow_left3.png"
  730.     stretch         = TRUE
  731.     arrow_direction = LEFT
  732.       }
  733.  
  734.     image 
  735.       {
  736.         function        = ARROW
  737.     recolorable     = TRUE
  738.     state           = NORMAL
  739.     file            = "arrow_right1.png"
  740.     stretch         = TRUE
  741.     arrow_direction = RIGHT
  742.       }
  743.     image 
  744.       {
  745.         function        = ARROW
  746.     recolorable     = TRUE
  747.     state           = PRELIGHT
  748.     file            = "arrow_right2.png"
  749.     stretch         = TRUE
  750.     arrow_direction = RIGHT
  751.       }
  752.     image 
  753.       {
  754.         function        = ARROW
  755.     recolorable     = TRUE
  756.         shadow          = IN
  757.     file            = "arrow_right3.png"
  758.     stretch         = TRUE
  759.     arrow_direction = RIGHT
  760.       }
  761. #
  762. # Hline and Vline widgets
  763. #
  764.     image 
  765.       {
  766.         function        = HLINE
  767.     recolorable     = TRUE
  768.     file            = "hline.png"
  769.     border          = { 0, 0, 1, 1 }
  770.     stretch         = TRUE
  771.       }
  772.     image 
  773.       {
  774.         function        = VLINE
  775.     recolorable     = TRUE
  776.     file            = "vline.png"
  777.     border          = { 1, 1, 0, 0 }
  778.     stretch         = TRUE
  779.       }
  780. #
  781. # Check marks
  782. #
  783.     image 
  784.       {
  785.         function        = CHECK
  786.     recolorable     = TRUE
  787.     shadow          = OUT
  788.     overlay_file    = "check1.png"
  789.     overlay_stretch = FALSE
  790.       }
  791.     image 
  792.       {
  793.         function        = CHECK
  794.     recolorable     = TRUE
  795.     shadow          = IN
  796.     overlay_file    = "check2.png"
  797.     overlay_stretch = FALSE
  798.       }
  799. #
  800. # Option marks
  801. #
  802.     image 
  803.       {
  804.         function        = OPTION
  805.     recolorable     = TRUE
  806.     shadow          = OUT
  807.     overlay_file    = "option1.png"
  808.     overlay_border  = { 0, 0, 0, 0 }
  809.     overlay_stretch = FALSE
  810.       }
  811.     image 
  812.       {
  813.         function        = OPTION
  814.     recolorable     = TRUE
  815.     shadow          = IN
  816.     overlay_file    = "option2.png"
  817.     overlay_border  = { 0, 0, 0, 0 }
  818.     overlay_stretch = FALSE
  819.       }
  820. #
  821. # The "tab" on the OptionMenu
  822. #
  823.     image 
  824.       {
  825.         function        = TAB
  826.     recolorable     = TRUE
  827.     overlay_file    = "option_menu.png"
  828.     overlay_stretch = FALSE
  829.       }
  830. #
  831. # Fun with Scrollbars
  832. #      
  833.     image 
  834.       {
  835.         function        = SLIDER
  836.     recolorable     = TRUE
  837.     file            = "scrollbar_horiz1.png"
  838.     border          = { 13, 12, 2, 2 }
  839.     stretch         = TRUE
  840.     orientation     = HORIZONTAL
  841.       }
  842.     image 
  843.       {
  844.         function        = SLIDER
  845.     recolorable     = TRUE
  846.     file            = "scrollbar_vert1.png"
  847.     border          = { 2, 2, 13, 12 }
  848.     stretch         = TRUE
  849.     orientation     = VERTICAL
  850.       }
  851. #
  852. # The handle on Handleboxes
  853. #
  854.     image 
  855.       {
  856.         function        = HANDLE
  857.     recolorable     = TRUE
  858.     file            = "button5.png"
  859.     border          = { 3, 3, 3, 3 }
  860.     stretch         = TRUE
  861.     overlay_file    = "handle_vert_thumb.png"
  862.     overlay_border  = { 0, 0, 0, 0 }
  863.     overlay_stretch = FALSE
  864.     orientation     = VERTICAL
  865.       }
  866. #
  867. # The background for entry widgets
  868. #
  869.     image 
  870.       {
  871.     function        = FLAT_BOX
  872.     recolorable     = TRUE
  873.     state           = INSENSITIVE
  874.         detail          = "entry_bg"
  875.     file            = "entry2.png"
  876.     stretch         = TRUE
  877.       }
  878.     image 
  879.       {
  880.     function        = FLAT_BOX
  881.     recolorable     = TRUE
  882.         detail          = "entry_bg"
  883.     file            = "entry1.png"
  884.     stretch         = TRUE
  885.       }
  886. #
  887. # How to draw the focus around a widget 
  888. #
  889.     image 
  890.       {
  891.         function        = FOCUS
  892.     recolorable     = TRUE
  893.     overlay_file    = "focus.png"
  894.     overlay_border  = { 4, 4, 4, 4 }
  895.     overlay_stretch = TRUE
  896.       }
  897. #
  898. # How to draw shadows in general
  899. #
  900.     image 
  901.       {
  902.         function        = SHADOW
  903.     recolorable     = TRUE
  904.     shadow          = IN
  905.     file            = "shadow2.png"
  906.     border          = { 2, 2, 2, 2 }
  907.     stretch         = TRUE
  908.       }
  909.     image 
  910.       {
  911.         function        = SHADOW
  912.     recolorable     = TRUE
  913.     shadow          = OUT
  914.     file            = "shadow1.png"
  915.     border          = { 2, 2, 2, 2 }
  916.     stretch         = TRUE
  917.       }
  918.     image 
  919.       {
  920.         function        = SHADOW
  921.     recolorable     = TRUE
  922.     shadow          = ETCHED_IN
  923.     file            = "frame1.png"
  924.     border          = { 2, 2, 2, 2 }
  925.     stretch         = TRUE
  926.       }
  927.     image 
  928.       {
  929.         function        = SHADOW
  930.     recolorable     = TRUE
  931.     shadow          = ETCHED_OUT
  932.     file            = "frame2.png"
  933.     border          = { 2, 2, 2, 2 }
  934.     stretch         = TRUE
  935.       }
  936. #
  937. # How to draw shadows with a gap on one side
  938. #
  939.     image 
  940.       {
  941.         function        = SHADOW_GAP
  942.     recolorable     = TRUE
  943.     file            = "frame_gap.png"
  944.     border          = { 2, 2, 2, 2 }
  945.     stretch         = TRUE
  946.     gap_start_file  = "frame_gap_top_start.png"
  947.     gap_start_border= { 0, 0, 1, 1 }
  948.     gap_end_file    = "frame_gap_top_end.png"
  949.     gap_end_border  = { 0, 0, 1, 1 }
  950.     gap_side        = TOP
  951.       }
  952. #
  953. # Some defaults as to how to draw boxes if they haven't already been covered
  954. #
  955.     image 
  956.       {
  957.         function        = BOX
  958.     recolorable     = TRUE
  959.     shadow          = IN
  960.     file            = "button9.png"
  961.     border          = { 3, 3, 3, 3 }
  962.     stretch         = TRUE
  963.       }
  964.     image 
  965.       {
  966.         function        = BOX
  967.     recolorable     = TRUE
  968.     file            = "button7.png"
  969.     border          = { 3, 3, 3, 3 }
  970.     stretch         = TRUE
  971.       }
  972.    }
  973. }
  974.  
  975.  
  976. # common default
  977. class "GtkWidget" style "default"
  978.  
  979.  
  980.